package cc.yaomm.service.basic.controller.business.login.vo;

import cc.yaomm.common.basic.lang.vo.BaseParamVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * Created by XQL on 2021/6/9.
 */
@Data
@ApiModel
public class LoginParamVO extends BaseParamVO {

    @ApiModelProperty("帐号")
    @NotBlank(message = "帐号不能为空")
    private String account;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    @Size(min = 32, max = 32, message = "密码长度不正确")
    private String password;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为空")
    private String captcha;

    @ApiModelProperty("验证吗ID")
    @NotBlank(message = "验证吗ID不能为空")
    @Size(min = 36, max = 36, message = "验证吗ID长度不正确")
    private String uuid;
}
